package com.uinnova.youshuyun.model;

import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import com.baomidou.mybatisplus.extension.activerecord.Model;
import lombok.Data;
import lombok.EqualsAndHashCode;

/**
 * <p>
 * 
 * </p>
 *
 * @author jinshuo
 * @since 2021-03-15
 */
@Data
@EqualsAndHashCode(callSuper = false)
@TableName("t_instrument")
public class Instrument extends Model<Instrument> {

    private static final long serialVersionUID=1L;

    /**
     * 主键id
     */
    @TableId
    private Integer id;

    /**
     * 仪器编号
     */
    private Integer code;

    /**
     * 仪器名称
     */
    private String name;

    /**
     * 仪器桩号
     */
    private String stakeCode;

    /**
     * 模数RO绑定有数云ID
     */
    private Integer offsetId;

    /**
     * 初始温度绑定有数云ID
     */
    private Integer temperatureId;

    /**
     * 仪器系数
     */
    private String coefficient;

    /**
     * 展示内容
     */
    private String showContent;

    /**
     *  模数RO值
     */
    @TableField(exist = false)
    private String offsetValue;

    /**
     * 初始温度值
     */
    @TableField(exist = false)
    private String temperatureValue;

}
